package yang.yu.sunny.domain.product;


import yang.yu.sunny.domain.AbstractEntity;

/**
 * 产品类别关系,记录产品类别的父子关系
 * Created by yyang on 16/3/15.
 */
class ProductCategoryRelation extends AbstractEntity {

    private Long parentId;

    private Long childId;

    protected ProductCategoryRelation() {
    }

    public ProductCategoryRelation(Long parentId, Long childId) {
        this.parentId = parentId;
        this.childId = childId;
    }

    public Long getParentId() {
        return parentId;
    }

    public Long getChildId() {
        return childId;
    }
}
